package com.drondea.testclient.handler.sgip.server;

import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;
import lombok.extern.slf4j.Slf4j;

/**
 * @author 1
 */
@Slf4j
public class TailHandler extends ChannelDuplexHandler {

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
        log.error("exception handler", cause);
        super.exceptionCaught(ctx, cause);
    }
}
